package com.ax.center.mapper;

import com.ax.center.dto.UserDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author zy
 * @date 2023/7/11 17:48
 */
@Repository
public interface UserDTOMapper {
    List<UserDTO> getAllStaffsWithRoleAndAuth();
    List<UserDTO> getAllRolesWithStaffInfo();
    List<UserDTO> getStaffInfoByRoleName(String roleName);
    List<UserDTO> getStaffInfoByDeName(String deName);
    List<UserDTO> getStaffInfoByUserName(String userName);

    List<UserDTO> getStaffInfoByStaffId(Long staffId);



}
